.class Les/dz$d;
.super Ljava/lang/Object;
.source "MusicEditMenuProvider.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/dz;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/dz;


# direct methods
.method constructor <init>(Les/dz;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/dz$d;->a:Les/dz;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 6

    .line 1
    invoke-static {}, Les/wo;->j()Les/wo;

    move-result-object p1

    invoke-virtual {p1}, Les/wo;->b()Ljava/util/List;

    move-result-object p1

    .line 2
    invoke-static {}, Les/wo;->j()Les/wo;

    move-result-object v0

    invoke-virtual {v0}, Les/wo;->a()Les/to;

    move-result-object v0

    invoke-interface {p1, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 3
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x1

    add-int/2addr v0, v1

    new-array v0, v0, [Ljava/lang/String;

    const/4 v2, 0x0

    const/4 v3, 0x0

    .line 4
    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v4

    if-ge v3, v4, :cond_1

    .line 5
    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Les/to;

    invoke-virtual {v4}, Les/to;->b()Ljava/lang/String;

    move-result-object v4

    if-nez v4, :cond_0

    .line 6
    iget-object v4, p0, Les/dz$d;->a:Les/dz;

    invoke-static {v4}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v4

    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Les/to;

    invoke-virtual {v5}, Les/to;->c()I

    move-result v5

    invoke-virtual {v4, v5}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 7
    :cond_0
    aput-object v4, v0, v3

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 8
    :cond_1
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v3

    iget-object v4, p0, Les/dz$d;->a:Les/dz;

    invoke-static {v4}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v4

    const v5, 0x7f11064e

    invoke-virtual {v4, v5}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v0, v3

    .line 9
    new-instance v3, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v4, p0, Les/dz$d;->a:Les/dz;

    invoke-static {v4}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v4

    invoke-direct {v3, v4}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    iget-object v4, p0, Les/dz$d;->a:Les/dz;

    .line 10
    invoke-static {v4}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v4

    const v5, 0x7f110651

    invoke-virtual {v4, v5}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/estrongs/android/ui/dialog/q$n;->b(Ljava/lang/CharSequence;)Lcom/estrongs/android/ui/dialog/q$n;

    const/4 v4, -0x1

    new-instance v5, Les/dz$d$b;

    invoke-direct {v5, p0, p1}, Les/dz$d$b;-><init>(Les/dz$d;Ljava/util/List;)V

    .line 11
    invoke-virtual {v3, v0, v4, v5}, Lcom/estrongs/android/ui/dialog/q$n;->a([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 12
    invoke-virtual {v3, v2}, Lcom/estrongs/android/ui/dialog/q$n;->d(Z)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance p1, Les/dz$d$a;

    invoke-direct {p1, p0}, Les/dz$d$a;-><init>(Les/dz$d;)V

    invoke-virtual {v3, p1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/content/DialogInterface$OnDismissListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 13
    invoke-virtual {v3}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    return v1
.end method
